setting backgroundColor for snack bar does not change background color

249

ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            backgroundColor: Colors.green,
            content: const Text('Awesome Snackbar!'),
          ),
        );

Comments

Submit
0 Comments